local OneSprite = class("OneSprite", function()
	return display.newSprite("1.png")
end)

function OneSprite:ctor()
	cc(self):addComponent("components.behavior.EventProtocol"):exportMethods()
end

function OneSprite:hide()
	self:setVisible(false)
	self:dispatchEvent({name = "HideSprite"})
end

function OneSprite:onEnter()
end

function OneSprite:onExit()
    self:removeAllEventListeners()
end

return OneSprite
